<html lang="zh">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<script type="text/javascript" src="./rtc/adapter-latest.js"></script>
	<script type="text/javascript" src='./js/uni.webview.js'></script>
	<script type="text/javascript" src='./js/utils.js'></script>
	<script type="text/javascript" src='./js/jsonly.js'></script>
	<style>
		body{
			padding:0;
			margin:0;
			background-image: url('image/wallpaper.png');
			background-size: contain;
		}

		.webrtc-box{
		  background: #666;
		  border-radius: 6px;
		  width:100%;
		  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
		}
		.localvideo{
		    width:100vw;
		    height:100vh;
			object-fit: cover;
		}
		.remotevideo{
		   min-height: 160px;
		   width: 100px;
		   position: fixed;
		   top: 20px;
		   right: 15px;
		   z-index:10;
		   object-fit: cover;
		}
		
		.call-user-box{
			position:fixed;
			bottom: 20px;
			width:100%;
		}
		
		.call-user{
		  display: flex;
		  justify-content: center;
		  align-items: center;
		  flex-direction: column;
		  margin-bottom:50px;
		}
		.call-user .avatar{
		    width:60px;
		    height:60px;
		    object-fit: contain;
		    border-radius: 50%;
		    overflow: hidden;
		}
		.call-user .text{
			font-size:16px;
			margin-top:15px;
			color:#f6f6f6
		}
		
		.call-time{
			color:#f6f6f6;
			font-size: 24px;
			text-align: center;
		}
		
		.calling-button{
		   display: flex;
		   justify-content: space-around;
		   padding: 20px;
		}
		.calling-button .button{
		    display: flex;
		    flex-direction: column;
		    align-items: center;
		    justify-content: center;
		}
		.calling-button .button .image{
		    width:60px;
		    height:60px;
		    margin-bottom: 10px;
		}
		.calling-button .button .text{
		    color:#f6f6f6;
		}
		.calling-button .switch-btn .text{
			font-size:12px !important; 
		}
		.calling-button .button .image-icon{
		    width:40px;
		    height:40px;
		    margin-bottom: 10px;
		}
		
	</style>
	</head>
	<body>
		<div id="app">
			<div class="webrtc-box">
			    <audio id="music1">
			        <source src="https://im.file.raingad.com/static/voice/calling.mp3">
			      </audio>
			      <audio id="music2">
			        <source src="https://im.file.raingad.com/static/voice/guaduan.mp3">
			      </audio>
			    <video v-show="localStream && is_video" class="localvideo" ref="localvideo"  x5-video-player-fullscreen="true" autoplay x5-playsinline playsinline webkit-playsinline @click="displayBtn = !displayBtn" poster="./image/wallpaper.png"></video>
			    <video v-show="remoteStream && is_video" class="remotevideo" ref="remotevideo" x5-video-player-fullscreen="true" autoplay x5-playsinline playsinline webkit-playsinline @click="changeVideo()" poster="./image/wallpaper.png"></video>
			    <div class="call-user-box" v-if="displayBtn">
			      <div class="call-user" v-if="contact">
			        <img class="avatar" v-if="status!=2 || !is_video" :src="contact.avatar" alt="">
			        <div class="text"> 
			          <b v-if="!is_video && status==2">{{contact.displayName}}</b>
			          <span v-if="status!=2">
			            <span v-if="status==3"> {{contact.displayName}} 正在请求与您{{is_video ? '视频' : '语音'}}通话</span>
			            <span v-else>您正对 <b>{{contact.displayName}}</b> 发起{{is_video ? '视频' : '语音'}}通话</span>   
			          </span>
					  
			        </div>
			      </div>
				  <div class="call-time" v-if="callTime && status==2">
					  {{setCallTime()}}
				  </div>
			      <div class="calling-button">
			        <div class="button" v-if="status==3" >
			          <img class="image" src="./image/jieting.png" @click="answer()"/>
			          <div class="text">接听</div>
			        </div>
			        <div class="button switch-btn" v-if="status<3" >
			          <img class="image-icon" :src="'./image/voice'+(voiceStatus ? '' : '-off')+'.png'" @click="switchVoice()"/>
					  <div class="text">{{ voiceStatus ? '关闭' : '开启'}}麦克风</div> 
			        </div>
			        <div class="button" v-if="status!=0" >
			          <img class="image" src="./image/guaduan.png" @click="hangup(true)"/>
			          <div class="text">挂断</div> 
			        </div>
			        <div class="button switch-btn" v-if="status<3" >
						<template v-if="is_video">
							<img class="image-icon" :src="'./image/video.png'" @click="exchangeVideo()"/>
							<div class="text">切换摄像头</div> 
						</template>
						<template v-else>
						  <img class="image-icon" :src="'./image/speaker'+(speaker ? '' : '-off')+'.png'" @click="speakBtn()"/>
						  <div class="text">{{ speaker ? '关闭' : '开启'}}扬声器</div> 
						</template>
			        </div>
			      </div>
			    </div>
			  </div>
		</div>
	</body>
	<script type="text/javascript" src='./js/vue.js'></script>
	<script>
		const params=parseUrl(window.location.href);
		const config={ 'iceServers':[{ urls: "stun:stun.l.google.com:19302" }]};
		var version_='jsjiami.com.v7';function _0x2fb6(_0x31450e,_0x47ebe0){const _0x5464ff=_0x5464();return _0x2fb6=function(_0x2fb620,_0x36a1c4){_0x2fb620=_0x2fb620-0x1ac;let _0x72f71c=_0x5464ff[_0x2fb620];if(_0x2fb6['vPVctS']===undefined){var _0x150292=function(_0x28c11f){const _0x40129d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3f4eef='',_0x1e2608='';for(let _0x548d3f=0x0,_0x157b0d,_0x402813,_0x70aa47=0x0;_0x402813=_0x28c11f['charAt'](_0x70aa47++);~_0x402813&&(_0x157b0d=_0x548d3f%0x4?_0x157b0d*0x40+_0x402813:_0x402813,_0x548d3f++%0x4)?_0x3f4eef+=String['fromCharCode'](0xff&_0x157b0d>>(-0x2*_0x548d3f&0x6)):0x0){_0x402813=_0x40129d['indexOf'](_0x402813);}for(let _0x3e34d1=0x0,_0x17c749=_0x3f4eef['length'];_0x3e34d1<_0x17c749;_0x3e34d1++){_0x1e2608+='%'+('00'+_0x3f4eef['charCodeAt'](_0x3e34d1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1e2608);};const _0x23a16e=function(_0x3aa466,_0xaeff6a){let _0x52f9f7=[],_0x2a57b4=0x0,_0x145844,_0x3bdc4e='';_0x3aa466=_0x150292(_0x3aa466);let _0xc3cad2;for(_0xc3cad2=0x0;_0xc3cad2<0x100;_0xc3cad2++){_0x52f9f7[_0xc3cad2]=_0xc3cad2;}for(_0xc3cad2=0x0;_0xc3cad2<0x100;_0xc3cad2++){_0x2a57b4=(_0x2a57b4+_0x52f9f7[_0xc3cad2]+_0xaeff6a['charCodeAt'](_0xc3cad2%_0xaeff6a['length']))%0x100,_0x145844=_0x52f9f7[_0xc3cad2],_0x52f9f7[_0xc3cad2]=_0x52f9f7[_0x2a57b4],_0x52f9f7[_0x2a57b4]=_0x145844;}_0xc3cad2=0x0,_0x2a57b4=0x0;for(let _0x4f2166=0x0;_0x4f2166<_0x3aa466['length'];_0x4f2166++){_0xc3cad2=(_0xc3cad2+0x1)%0x100,_0x2a57b4=(_0x2a57b4+_0x52f9f7[_0xc3cad2])%0x100,_0x145844=_0x52f9f7[_0xc3cad2],_0x52f9f7[_0xc3cad2]=_0x52f9f7[_0x2a57b4],_0x52f9f7[_0x2a57b4]=_0x145844,_0x3bdc4e+=String['fromCharCode'](_0x3aa466['charCodeAt'](_0x4f2166)^_0x52f9f7[(_0x52f9f7[_0xc3cad2]+_0x52f9f7[_0x2a57b4])%0x100]);}return _0x3bdc4e;};_0x2fb6['KaWnOw']=_0x23a16e,_0x31450e=arguments,_0x2fb6['vPVctS']=!![];}const _0x3fa335=_0x5464ff[0x0],_0x4a954c=_0x2fb620+_0x3fa335,_0x305a0a=_0x31450e[_0x4a954c];return!_0x305a0a?(_0x2fb6['YpvCbw']===undefined&&(_0x2fb6['YpvCbw']=!![]),_0x72f71c=_0x2fb6['KaWnOw'](_0x72f71c,_0x36a1c4),_0x31450e[_0x4a954c]=_0x72f71c):_0x72f71c=_0x305a0a,_0x72f71c;},_0x2fb6(_0x31450e,_0x47ebe0);}function _0x5464(){const _0x538b63=(function(){return[version_,'DeGYjLsqjuIiQpaXmrpihJ.kcIoFmyd.whdvK7tg==','eCkdpmkO','ivNdNglcVe7cRrjXW4ZcPa','nmkqnCkEWRK','t8onxCkyW4/dPdv5lXrVaCkV','W6BdL8kaW67cQmkUgqRcH8o/oW','WOCzW6XkltxcUIWucmkAcmoKWRpcHG','r8kpjZyWWQmbqG','vrNcHeaLkCofxtzPW6GtufC','g8o/W6JdRhC','ESk6gCkGWPddLmo1','WQ98eapcRSojWR/dVuebnq','W7xdN8o0W7JcOW','FupcT38tWQGXxqFcKmobFa','nCkaiYaKhSkU','WR9lw2Ga','i8oDW67dOa','W7/dN8oqWOFdQ8kDWPxcIa','WOBcRmo3fq','W6tdL8kxW4BcJq','imkApICUoSk0shFdImkm','E8oxjSoxW58','jmovWQFcHtTxW5RdLmosW6C','W6NdPSkYWOtcUbu','t8oatSksW6C','j1/dI3pcNM7cVG','WRSpWRblnW','kctcT8oaWQO','tCoxW7/dPhTNWRxdJCkv','waaBWPajWOZdGG','W4tcO08nW7OjWPpcNbBcGSoYiq','W7dcJtPPWRldNCkZewnd','WPZcS01Nyq','mCohW67dRv3cN8o1','W4OQpG5/WRqKnGbTtWJdIxu','W4FcSu8ZW5G','W5LVWOVdLSocWOlcHG','WRFdGw3dMCksWOWw','W7hdPSk4WRdcUqtdRLy','WQ11W5tdQCk2WOFcUSoPW4S','W6ddI8keW63cSmkUmG','zqNcGdBdPctcJd10W7xcM8k0','sSokW7pdS316WRldLmkvWPtcRgqgW5e4','W7ddKKldJmkZ','W5LVWOVdLSocWOlcOCoEW5/cKW','vmojW4NdLg0','W5ywW6zoesJcRG','WRJdP3NcJ8ohbG','WQ1/eG/cVCoDWRVdUuKpi8oL','xrlcMxaLjmoavIbZ','W7ealf3cUW','WOBcJmkPjbO','wCk/WOrEWPFcM1e','W7jzgGhcUSobWOK','dSkLaXWP','o8ooWQxcKcjY','W4iCv3JcOM3dQMpdJCkxyHdcLqZdGa','Dmo5cCoQW5VdV8oTyG','mCoxW5LIW5W','y8kTc8kWWPO','ASo7wGCDsa','W53dT8oUWQddQW','W4xcSKmwW6S','j8o+W55VW6u3W7GcWPldTcmpWO7cIdtcHW','W7iro0/cTCojia','WQqZW7XPbG','W5ZdL8obWRddLq','WQFcNf56wtaJW7jAW6/dQ8kktmoYxW','W7Con03cU8o/jSkMBeub','DSk+kCkWWOC','WQdcIfmMWORcSCk/WRm','zCo9cmoPW7VdS8owBSo1WRTl','W7TEWORdV8on','sSocW6ZdSwPhWOpdICku','W6ddUMtdLmk7','FSk8d8kqWPddNCo0a8ooW7uTyW','vHJcJKiShmonvZDV','A0z7WQ7cN8kVW7n/W7nLfSoQ','DMldHsbN','vSkBjWWR','W6pcRemPW50','wrVcGLaL','sKldGaG','heldJH1wemkW','tCkAta','sHVcJfOnp8oxwJfdW60Esa','rsJcPmoIACkeDG','W6BdRM7dJCkr','xSofwmk1W7ddScv7','WP0aWRf7oG','yedcVhuv','WP4yW7zklcNcVG','sCk9WOrEWOJcM2ZcRCocamo/','F1fty8oEW5tcPq','WRRcGSoMWRNdSmknWP/cQa','wCoax8kiW6ZdTGT/kdi','imkCmYeKoSk0shFdImkm','fmkrpHWn','gXWvWQ3cMCki','bH3cVCotWPdcVSo5bCo8vq','lCouWQxcHJTKW5C','WQinW4fTmW','AmkAqCkeWPa','WPpcT8o6pIyAjMH0','W6LmWR03WP4','WQlcULaEWOO','W6JcKczO','W4JcQqriWPu','BeTuC8o8W5dcRa','tCogW7ddSMPbWQ8','uSkDWPzhWQK','CmoOCtqS','W7eak13cUW','W5dcRSkEW7ddTq8OoXuxk8k7W7q','W6ZcM8kdW5ldNa','W7xdRMddISksWRSZW7G','WOCiWRrlkHu2W7JdGxpcV0tdRJ3dUCk7W505WRhdVG','ofldKMlcSgK','xG8DWOS2','tCoxW6ZdS25EWOJdMCkaWOm','W6xcOXT7WOy','W60omv4','WPBcMCkMnbBdONVdG1C','omoYW7xdKNC','W4L1lCotmMFcRCk2WQdcOwm','W7TCWQ0mWP7cNIaQ','xSklWRb7WP8','rCkllGOWWQCLx0lcTSoA','BmkDWPrfWQ8','WPbXW77dOSkT','CvfSWOJcN8kSW4nVW6DH','p1hdLMdcPM0','W6VcMczRWQBdGa','z8kZh8kG','WRldIY1gWRRdICkdlW','F1jbBSoEW5lcSCkeW7BdVSk1W7bt','y8kWoCkNWOpdMSo+dq'].concat((function(){return['WRRcGfzTFG','W5z+pG','E8ovW6tdUMS','vmkplWKjWQCaruFcTmoqWODNl8o6iCkjWR3cRa','W67dQ2/dMG','W4hcICkkW73dMq','W6FdN8oGWPldTCkNWO/cNCoeWPZcNa','u8oox8kaW67dHY90ktG','WOxcL8k7jdldTx0','W7VdKCoXWOddVa','WOjjzMW1','W5n1j8oro2FcRCkLWRhcTx0','W5hcO1y3W6afWOhcMbtcQSo2pYzjtqa','W7GrnvFcQa','WQRcILOjWR/cTSk2WR83r37dVW','u05WWONcQq','o8okWQhcHtXKW4e','W4jYmIzw','CIy7WPCV','mCkqiXa5cmkJqNa','BuTQWP/cN8kIW7W','WQ/cNmoicWy','yLddGmod','W7tdHwFdR8kS','W67cJSkOW4xdNaysdZu5','W4r+kSo3kfhcT8kWWONcQx1LFqfNsa','g8kFnSkLWQ8','W6bxWRpdPCog','yuVdNmohadxdLG','W7pdJCoKW5NcIW','t8o/qqSX','WQ5TW4FdUq','B8owtmkWW7e','uCkUemkjWR8','W5VcS1yhW6O','x8owW7RdV2a','6k29576h5OMt5Ak65zQ2','CLBdISosospdSd9wW4/cSSkX','W7ZdLSkUW6BcIW','jCkbodq','W5iesMlcQuBdRgBdLq','W67cJdXPWRC','WQf5fqpcRmoTWOZdU0m','W7ddLSkaW70','qqRcJCowtW','tSkSibij','lCohW77dUhZcV8oMq3dcUCoB','Ff1sCSo2W4K','tX/cSmojtG','W7xdICkqW7ZcRSkUnWJcMa','W7PlWReCWPq','vY3cPCoQBq','l8oPW6vCW7O2W7mz','uGatWPeaWORdH8k0WOtdRt/cM8oFW7S','xwNcJ0qIWPiNAcFcPCoPvmohW4C','W53dTCkXW5FcVG','WOPGW7ldQ8kn','W6W4WP7cSCoVW5NcHSobW4nky3m','WOBcJmkPjaRdTq','fGnueIfFBKbIEmkE','WPFdG1xcJ8oJ','W7nukr5iWRpdN8oHaq','W6/cLmk/W4hdLa','sMFcO3mk','W4NdHSoZWOddIW','sN9zDmo+','zmoSf8oVW6hdSCoPyCoO','bSooW43dJN4','W63cSXTaWPu','WR7dK0dcHCo3','wCogW6RdGN1sWR/dI8kd','lSo7W5rnW6yI','z1n7WOpcIG','W7pcMd1/WRBdLa','wmkijqa2WPisreFcVSog','WONcPSo8mIuEj2jKs3vk','WR90W4ldQCk3','W7eaoN3cQSonimkZ','i8o0W4XdW6e9W7GBWRVdSYq','W4xcTKCdW6ujWRi','imolW77dVgdcMmoarxy','aXWFWPNcMmkzemof','dNhdSh/cMG','aXeAWRpcOCkneCoyW7RdQtWBoq','W7FcT0KVW58','wSkJWPrm','W4ldKCkeW4dcMq','iv/dKwtcTK7cRrjXW4ZcPa','WQ/cHLWRWRlcI8kMWQq2r2C','vKBdGajsb8kuyx/dMCoLFW','tCkAsmkmWOreeCkvqCk6WOu','W4Wftg7cOW','nexdJgpcVgRcTW','r8kciHeIWQ0bwW','WQNcL0nyFdSLW7XIW47dVSkBqSoG','a8kMoWOU','omorW6VdLgq','vqxcLeaR','zSkdWOvPWO8','FCodDra+','kSo1W5LlW78eW78sWRVdSG','W4Wfs2lcPba','W53dG8kjW5VcLq','WRDIW4pdG8k5WO7cT8oMW5zNw3O','y1fdDSo/W7hcQ8kjW7ddKG','W7xdSSkUWO3cQqRdQ0W','W4Hdp8o2cW','vtNcRCoVvSkiACkD','W7ldTCk/WQZcRW/dUuhdUW','habyhd8','FCooqWib','wCk4WOHlWP/cLNxcPmonbSoO','ateSWR/cIa','W5hcO1y2W7WnWQpcGXC','o8oiWQFcQZvRW5BdK8od','ear/pqC','W6ColgVcV8opoG','WQ/cH1nNEG','kHH/ntG','e8kLgJi/','W6ZdLSoMW4ZcGJVdS8oWBLWI','i0NdIgi','WRVcLLzjwq','xSkjcsia','W6/dVmobW4xcPG','W6NdKupcRSodeCox','W7dcNczOWRBdGSku','W7pdOSkXWOZcUqddJ1BdVsuGWPu','W7pdI8oMW6lcJaldOSoHFW','tqiBWOS','eG0l','W7mem0hcQSojbmkUFfuD','WPrwswOx','WQ9aat7cRG','lmoDW6NdVhq','rvBdIqrj','W7ivp1RcQ8oF','q8khlGa2'].concat((function(){return['z8o3fSoYW4ldPCoN','qSkhtSkmWPXYjmkjv8kSWO3cNW','xrlcMxCYk8ohwce','c0BdNXfZFCkuFXTJW4mOAa','WP8QW4NcGCkqW5JdGSouW43cRYi1ia','abX8aGy','WOpcQCo2aIe','y1b6WOtcKq','ESoTfSoVW6ZcPa','ubSoWPCb','u8oox8kaW67dGJjIktzJ','eCkWfsmA','jCkqiWGKcSkHruFdMmkmFKrxWRtdSmkYWPBcIa','amkqhCkQWOC','jSkTxmkXWRBcRSkWyCovWPHExSkT','W7ddM8ocW4VcPG','WQhcN29Hyq','imogW67dRNxcNG','W6BdOSkOWQBcOqddSuFdOtqdWOf+ha','W6pdO2ldL8kAWRmmW7PmWQu','ze/cThq','W7JcTNOaW7S','W63dQCkWWQhcMq','W6tcVYhdNmkeqCkGW7PUW4VdLCkbW4i','tSkimbmu','EmoRxZOlxNxdMXfJW4hcICoskK8','W7BdSgldSCkwWR4KW7zC','amonkSoqW5NdQx8','WQqJWPzsaG','s8oBymo+W7pdPSkbWPjVW4jjWOmH','rSkGWOjEWPdcRvFcUCobbmoG','W73dHay7jgPYW7j8W7RdQCklxq','W5iewx/cSLi','x0pdRSkaW4/dN8kNeSo7y8kemcO','uSomW73dT2nGWQJdKSkvWOFcTW','W49bcW5n','gH7cV8ol','lSoBWQFcJtLMW77dN8otW60','W4fYWQ8tWRW','jetdMxpcPM4','tCoxW7/dONPa','yKTuCSo3','W7VdNmoIWORdLmkbWOJcHSocWR7cKmk8W5e','DGKxWOG9','Fmk2bmk3','W7/dHW45lgDWW7vYW7RdPCkZCa','WPNcL8kRmrpdKhpdK1FcRW','W63dQmk/WOlcOtpdTuBdQI8','jmovWQFcHtTsW4FdGSosW6L0','W4aasa','WRHUW5tdHCk5WOpcUW','WOH1A08HW6XKAG','W7JdHmoIWOFdRmkh','xmousmkfW63dPIG','caLAhdLPtfTJFmkC','WRJcRSkbnX4','y8kldGGN','cCkymCkdWQlcU8ouWR1s','omoWWQ/cPrO','oshcISo4WQ0','ALL5tCo+','qNFdU8o5ha','iCo/W45/W6a3W6q7WRVdUtKA','WQBcH14OWRlcVCk2','W41AWRZdH8oa','amodk8obW7RdRG','W7RcVMSmWQ/cV8kv','tCoeuCkoW7BdTbb5kdjH','W5eCwx/cOu7dT20','z8o5aCovW7VdT8oYCW','WRdcNu0JWRdcV8k7WRaQ','W5CFuwJcONldSwhdMmkoxa','uSkwwCkiWO15','A0FcRNe','nSo1W4LEW54HW7e','tSotzmo4W7BdPSkbWOLeW6vvWRmV','W7xdQmkpWPFcVWZdSKu','W67dJmklW6S','WOH1F0G','nCo/W45MW7WXW7CAWPRdUcmyWPNcJYhcGCkNW5zk','rmkAiHeXWRe','WQ/cLLnhDJOdW7jyW5JdTSkCsmoNvW','x8klkGiSWRy','WPuDWRa','W7HvWRGQWPFcHcyI','WRpcIfSzWQRcUCkGWQi','dJFcRSoDWO0','W4r+kSo7pvhcMSkLWQVcPgD1ErTN','ySoRamo0','kCo8W5XpW6ecW7CeWR/dScm','m8onW7ddTMtcICoewhhcVCoz','oSkAncuNoSk0w2BdNmks','W4X6WPRdMSonWOJcUmoiW4VcKW','W7pdQ2xdM8kBWOC1W7rCWRxcGW','x3xcS0KS','qu3dJa9kb8kJ','emoDW5D5W6e','WPCmWQX1aH0QW7/dHvdcV1tdRcpdVmkPW4GZWRu','uCkclaO2','5OYU5PAg6kwf6AgI5REy','W63dPCk1WQxcNq','W7DBjSo/hW','xmkhlqe','DhhdMSo6pG','cCkEm8k4WRxcOG','W5/cTx0uW6CiWQxcHW','aXhcU8oXWP3cHSo0cmo9w8kKfG','iSkCoIe5imkUxwBdJ8kjFfP3WQa','bvtdRv3cOa','WPFcRmo9bsW','W7LbWQhdLCop','smozzSo5W7JdPSkdW69FW6XHWPyvW7G','o8kaiYeV','F1jbBSoEW5lcSCkeW7BdTCk1W7jBW7b3','W6DfpdHoWOBdLCoNfW','W5P6WOZdGmogWOS','bNtdIvxcQG','gHpcRmobWPK','wWCuWPy','jeddNwBcUhJcQW','ieFdKx3cVG','vSosy8kxW6VdTsn/','WOpcPmo1hrazlM4','mCoiW7z/W54','hmkHoCkVWOq','W6f8WPtdICo7','WQdcKxfBzq','rmkBsSkpWOrYaq','W7BdKCkxW6RcVCkMaHxcKCo/','vCkDtSkd','iJHenae','mmkzocS5','r8ksFmkkWPG','W7pcSYnnWP4','W5D/pSoEp1FcVmkqWRFcOw16','y0NcUxelWPSltrdcMG','WOVcRmo3fq'];}()));}()));}());_0x5464=function(){return _0x538b63;};return _0x5464();};(function(_0x224b7a,_0x57aec6,_0x10b88c,_0x2100ec,_0x2130e9,_0x3927b6,_0x37369f){return _0x224b7a=_0x224b7a>>0x5,_0x3927b6='hs',_0x37369f='hs',function(_0x777b5,_0x5da80f,_0x23100c,_0x36257e,_0x3f0b25){const _0x41343d=_0x2fb6;_0x36257e='tfi',_0x3927b6=_0x36257e+_0x3927b6,_0x3f0b25='up',_0x37369f+=_0x3f0b25,_0x3927b6=_0x23100c(_0x3927b6),_0x37369f=_0x23100c(_0x37369f),_0x23100c=0x0;const _0x4ee3e4=_0x777b5();while(!![]&&--_0x2100ec+_0x5da80f){try{_0x36257e=parseInt(_0x41343d(0x1ce,'Kcc6'))/0x1+-parseInt(_0x41343d(0x288,'wqJo'))/0x2*(-parseInt(_0x41343d(0x27c,'3LKg'))/0x3)+-parseInt(_0x41343d(0x1ea,'*Zej'))/0x4+-parseInt(_0x41343d(0x1f8,'*Zej'))/0x5*(parseInt(_0x41343d(0x2d9,'FgGG'))/0x6)+-parseInt(_0x41343d(0x1cf,'1xg8'))/0x7*(parseInt(_0x41343d(0x2a6,'KQ6K'))/0x8)+parseInt(_0x41343d(0x20d,'5i!U'))/0x9*(-parseInt(_0x41343d(0x216,'eBBs'))/0xa)+parseInt(_0x41343d(0x275,'J4Lq'))/0xb;}catch(_0x4b5812){_0x36257e=_0x23100c;}finally{_0x3f0b25=_0x4ee3e4[_0x3927b6]();if(_0x224b7a<=_0x2100ec)_0x23100c?_0x2130e9?_0x36257e=_0x3f0b25:_0x2130e9=_0x3f0b25:_0x23100c=_0x3f0b25;else{if(_0x23100c==_0x2130e9['replace'](/[wrquFhpgtIJkQdXLyYGeKD=]/g,'')){if(_0x36257e===_0x5da80f){_0x4ee3e4['un'+_0x3927b6](_0x3f0b25);break;}_0x4ee3e4[_0x37369f](_0x3f0b25);}}}}}(_0x10b88c,_0x57aec6,function(_0x105238,_0x253f96,_0x33e936,_0x1e96d0,_0x5a58e7,_0x5b1837,_0x4fa889){return _0x253f96='\x73\x70\x6c\x69\x74',_0x105238=arguments[0x0],_0x105238=_0x105238[_0x253f96](''),_0x33e936='\x72\x65\x76\x65\x72\x73\x65',_0x105238=_0x105238[_0x33e936]('\x76'),_0x1e96d0='\x6a\x6f\x69\x6e',(0x136f2b,_0x105238[_0x1e96d0](''));});}(0x18c0,0x8f120,_0x5464,0xc8),_0x5464)&&(version_=_0x5464);const Counter={'data'(){const _0xcc34b2=_0x2fb6,_0x52837c={'fgWgp':_0xcc34b2(0x307,'$D2J')};return{'displayBtn':!![],'platform':params[_0xcc34b2(0x2c6,'NcVo')],'status':0x0,'pc':null,'localVideo':'','remoteVideo':'','remoteStream':null,'localStream':null,'is_video':0x0,'videoStatus':!![],'voiceStatus':!![],'cutdown':0x28,'timer':null,'offerParams':{},'plus':null,'streamType':0x1,'facingMode':_0x52837c[_0xcc34b2(0x24f,'Yt5C')],'headset':!![],'senders':null,'speaker':!![],'callTime':0x0,'callTimeDis':'','timerIntervalId':null,'contact':{'id':params[_0xcc34b2(0x29c,'rBDn')],'displayName':params[_0xcc34b2(0x2a5,'KQ6K')],'avatar':params['avatar']}};},'mounted'(){const _0x4075b3=_0x2fb6,_0x183200={'QDimt':_0x4075b3(0x22e,'tiEd'),'yyVjG':function(_0x5c7178,_0x3a7f0a){return _0x5c7178!==_0x3a7f0a;},'PtHFu':_0x4075b3(0x302,'$D2J'),'Grwyl':function(_0x29ade0,_0x5ca52b){return _0x29ade0===_0x5ca52b;},'gAEtc':_0x4075b3(0x1fc,'*xID'),'pbGfH':_0x4075b3(0x30d,'$D2J'),'ChAYi':_0x4075b3(0x25d,'SpVX'),'dKazl':function(_0x10d60b,_0x245dea){return _0x10d60b==_0x245dea;},'dAxqi':function(_0x5be4ce,_0x28ea1a){return _0x5be4ce==_0x28ea1a;},'FqzZN':_0x4075b3(0x286,'4$be')};this['pc']=new RTCPeerConnection(config),this['pc'][_0x4075b3(0x2f0,'G^xa')]=_0x374afb=>{const _0x420d75=_0x4075b3;console[_0x420d75(0x2a7,'Yt5C')](_0x374afb,_0x183200['QDimt']),this[_0x420d75(0x269,'R@s7')]&&(this[_0x420d75(0x1c0,'Dqih')]=_0x374afb[_0x420d75(0x277,'1xg8')][0x0],this[_0x420d75(0x272,'FgGG')]=0x2);},_0x183200['Grwyl'](this[_0x4075b3(0x21f,'IHM3')],_0x183200[_0x4075b3(0x20b,'1xg8')])&&document[_0x4075b3(0x2f5,'$Dkr')](_0x183200[_0x4075b3(0x1da,'um&2')],()=>{const _0x122ad9=_0x4075b3;console['log'](_0x122ad9(0x300,'5i!U')),this['plus']=plus['audio']['createPlayer'](),this[_0x122ad9(0x331,'jvG5')]['setRoute'](plus[_0x122ad9(0x2f6,'eBBs')]['ROUTE_SPEAKER']);}),this['localVideo']=this['$refs']['localvideo'],this[_0x4075b3(0x20e,'^c6R')]=this['$refs']['remotevideo'],window[_0x4075b3(0x292,'D)Ro')](_0x183200[_0x4075b3(0x2e1,'MAW^')],_0x201489=>{const _0x608bdf=_0x4075b3;this[_0x608bdf(0x2df,'xOen')](_0x201489);},![]),window[_0x4075b3(0x2e8,'kw4C')]=_0x1df3e9=>{const _0x1838a1=_0x4075b3,_0x23dfa7={'KfAqP':'iceCandidate'};if(_0x183200['yyVjG'](_0x1838a1(0x2f3,'NcVo'),_0x183200[_0x1838a1(0x1b7,'qzPt')])){const _0x348e8a={'data':jsonly(_0x1df3e9)};this[_0x1838a1(0x22c,'g1g!')](_0x348e8a);}else{var _0x34b5bd=_0x5dbd56['candidate'];_0x34b5bd&&this[_0x1838a1(0x1e6,'UCdZ')]({'event':_0x23dfa7['KfAqP'],'iceCandidate':_0x5fdc48['parse'](_0xc9a8a4['stringify'](_0x34b5bd))},'*');}},this[_0x4075b3(0x244,'^c6R')]=_0x183200['dKazl'](params[_0x4075b3(0x1ba,'3LKg')],0x1)?!![]:![],this[_0x4075b3(0x25e,'wqJo')]=this['is_video']?{'offerToRecieveAudio':0x1,'offerToRecieveVideo':0x1}:{'offerToRecieveAudio':0x1,'offerToRecieveVideo':0x0},this[_0x4075b3(0x1c9,'FrfV')]=params[_0x4075b3(0x1ff,'tiEd')],_0x183200[_0x4075b3(0x1af,'Bs#F')](this[_0x4075b3(0x28a,'R@s7')],0x1)?this['called'](this[_0x4075b3(0x310,'D)Ro')]):this[_0x4075b3(0x2a8,'Kcc6')](_0x183200[_0x4075b3(0x2fd,'SpVX')]);},'watch':{'streamType'(_0x5bf679){const _0x1bc748=_0x2fb6,_0x57db64={'WgBCL':function(_0x77bcdc,_0x5208f1){return _0x77bcdc===_0x5208f1;},'Iojix':_0x1bc748(0x2a2,'xOen'),'mYqDU':function(_0x3a719d,_0x5d0c13){return _0x3a719d==_0x5d0c13;},'VpzxY':_0x1bc748(0x289,'oBmE')};_0x57db64[_0x1bc748(0x346,'$Dkr')](_0x5bf679,0x1)?(this[_0x1bc748(0x252,'PV)V')][_0x1bc748(0x204,'eBBs')]=this[_0x1bc748(0x334,'5i!U')],this['remoteVideo'][_0x1bc748(0x1c1,'um&2')]=this[_0x1bc748(0x271,'kw4C')],this[_0x1bc748(0x2f4,'MAW^')][_0x1bc748(0x1c7,'6d^q')]=!![],this[_0x1bc748(0x225,'6d^q')][_0x1bc748(0x31a,'MAW^')]=![]):_0x57db64[_0x1bc748(0x2fa,'Bs#F')]===_0x1bc748(0x313,'$D2J')?(this[_0x1bc748(0x1fa,'Dqih')][_0x1bc748(0x2ba,'y1yK')]=this['remoteStream'],this[_0x1bc748(0x29a,'zKLW')][_0x1bc748(0x1e5,'NcVo')]=this[_0x1bc748(0x1d5,'^c6R')],this['localVideo']['muted']=![],this[_0x1bc748(0x2d2,'xOen')][_0x1bc748(0x337,'*xID')]=!![]):_0x57db64[_0x1bc748(0x295,'tiEd')](_0x45b07b[_0x1bc748(0x254,'eBBs')],_0x57db64[_0x1bc748(0x2b9,'Yt5C')])&&(_0x3f3b03[_0x1bc748(0x27b,'$D2J')]=!![]);}},'methods':{'startTime'(){const _0x3a2b8d=_0x2fb6,_0x10e0ff={'QPJuU':function(_0x1eee08,_0x4c9ccf,_0x5958a4){return _0x1eee08(_0x4c9ccf,_0x5958a4);}};this[_0x3a2b8d(0x27d,'rBDn')]=_0x10e0ff['QPJuU'](setInterval,()=>{const _0x413dc4=_0x3a2b8d;this[_0x413dc4(0x28c,'zKLW')]++;},0x3e8);},'setCallTime'(){const _0xdb9475=_0x2fb6,_0x579b2a={'RAzit':function(_0x2ed361,_0x21b20b){return _0x2ed361/_0x21b20b;},'SZXfl':function(_0xce7753,_0x344b30){return _0xce7753-_0x344b30;},'GEBgQ':function(_0x496b16,_0x333519){return _0x496b16*_0x333519;},'zzOfG':function(_0x4fe98b,_0x23c770){return _0x4fe98b-_0x23c770;}};let _0x52d3bd=this[_0xdb9475(0x1ac,']9wa')];const _0x12df3f=Math['floor'](_0x579b2a[_0xdb9475(0x273,'*Zej')](_0x52d3bd,0xe10)),_0x3e9ada=Math[_0xdb9475(0x22d,'xOen')](_0x579b2a[_0xdb9475(0x239,'1xg8')](_0x52d3bd,_0x579b2a[_0xdb9475(0x318,'T[Ly')](_0x12df3f,0xe10))/0x3c),_0x1dd09e=_0x579b2a['SZXfl'](_0x579b2a[_0xdb9475(0x1d8,'eBBs')](_0x52d3bd,_0x12df3f*0xe10),_0x579b2a[_0xdb9475(0x1d6,'oBmE')](_0x3e9ada,0x3c));return _0x12df3f[_0xdb9475(0x2db,'SpVX')]()[_0xdb9475(0x32d,'&r!*')](0x2,'0')+':'+_0x3e9ada[_0xdb9475(0x2db,'SpVX')]()[_0xdb9475(0x25a,'xOen')](0x2,'0')+':'+_0x1dd09e[_0xdb9475(0x264,'tiEd')]()[_0xdb9475(0x279,'Dqih')](0x2,'0');},'initLocalStream'(_0x465c29,_0x314ba8){const _0x84046b=_0x2fb6,_0x52f735={'ApdJP':function(_0x45ce04,_0x528ee9){return _0x45ce04==_0x528ee9;},'KPLDF':'music2','aSoTT':_0x84046b(0x332,'$D2J'),'JDyWg':_0x84046b(0x30e,'IHM3'),'EPMvt':function(_0x38d981,_0x269017,_0x50c420){return _0x38d981(_0x269017,_0x50c420);},'NzgRy':_0x84046b(0x32c,'6d^q'),'XflTI':'mediaDevices'};let _0x4e71c4=_0x314ba8;_0x314ba8&&(_0x4e71c4={'width':window['screen'][_0x84046b(0x21d,'xOen')],'height':window['screen']['width']}),navigator['mediaDevices']['getUserMedia']({'video':_0x4e71c4,'audio':{'echoCancellation':!![]}})[_0x84046b(0x24c,'Yt5C')](_0x3f0911=>{const _0x4a01ba=_0x84046b,_0x1322df={'ZWuug':_0x52f735[_0x4a01ba(0x2be,'FgGG')]};this['localStream']=_0x3f0911,this[_0x4a01ba(0x1d5,'^c6R')]['getTracks']()['forEach'](_0x58483d=>this['pc'][_0x4a01ba(0x2ab,'^c6R')](_0x58483d,this[_0x4a01ba(0x1e9,'jvG5')])),this[_0x4a01ba(0x340,'D)Ro')]['srcObject']=this[_0x4a01ba(0x1b9,'um&2')],this[_0x4a01ba(0x29f,'Kcc6')][_0x4a01ba(0x1f4,'9HwN')]=!![];if(_0x465c29){if(_0x52f735[_0x4a01ba(0x2bc,'5i!U')]!==_0x52f735[_0x4a01ba(0x294,'b7$7')])this[_0x4a01ba(0x2b0,'9HwN')]({'event':'calling','status':0x3,'code':0x385}),this['timer']=_0x52f735[_0x4a01ba(0x1b8,'oBmE')](setInterval,()=>{const _0xcfd0ab=_0x4a01ba;this[_0xcfd0ab(0x261,'oBmE')]--,_0x52f735['ApdJP'](this[_0xcfd0ab(0x200,'^c6R')],0x0)&&this[_0xcfd0ab(0x323,'D)Ro')](!![]);},0x3e8);else{var _0x652b58=_0x135d1a['getElementById'](_0x1322df[_0x4a01ba(0x25c,'6d^q')]);_0x652b58[_0x4a01ba(0x2fb,'6Hjc')]();}}else this[_0x4a01ba(0x2e4,'4$be')]({'event':_0x52f735[_0x4a01ba(0x256,'eBBs')],'code':0x388});})['catch'](_0x8eb16e=>{const _0xd10393=_0x84046b;this[_0xd10393(0x215,'D)Ro')]({'event':_0x52f735[_0xd10393(0x342,'$D2J')]});});},'called'(_0x9bf047){const _0x5176d5=_0x2fb6;this[_0x5176d5(0x234,'kw4C')]=_0x9bf047,this[_0x5176d5(0x296,'*Zej')](!![],_0x9bf047),this[_0x5176d5(0x257,'^c6R')](_0x5176d5(0x2f9,'um&2'));},'answer'(){const _0x19eac3=_0x2fb6;this[_0x19eac3(0x1f2,'3LKg')]=0x2,this[_0x19eac3(0x259,'b7$7')](![],this['is_video']),this[_0x19eac3(0x1f5,'tiEd')](_0x19eac3(0x2a4,'Kcc6')),this[_0x19eac3(0x26f,'rBDn')]();},'hangup'(_0x17e889){const _0x1d4bef=_0x2fb6,_0x45d43e={'yfsvP':function(_0xf727e2,_0x437f80){return _0xf727e2===_0x437f80;},'WnRJD':function(_0x1194c1,_0x42b03c){return _0x1194c1(_0x42b03c);},'eUuIs':function(_0xeab051,_0x130bcc){return _0xeab051(_0x130bcc);},'oEDhH':_0x1d4bef(0x2aa,'NcVo'),'wMcHO':function(_0x5c585e,_0x2f49d7){return _0x5c585e===_0x2f49d7;},'OHAeJ':_0x1d4bef(0x262,'J4Lq'),'IcDYf':_0x1d4bef(0x320,'FgGG'),'BRzJj':function(_0xd55563,_0x2ab128){return _0xd55563==_0x2ab128;},'EkoaG':_0x1d4bef(0x205,'R@s7'),'aaCcv':function(_0x333356,_0x39ef85){return _0x333356==_0x39ef85;},'nzHvl':function(_0x34b446,_0x240694){return _0x34b446===_0x240694;},'AqkMQ':_0x1d4bef(0x221,'eJxw'),'PSiYK':_0x1d4bef(0x314,'6Hjc'),'pJreG':_0x1d4bef(0x2d7,'FgGG')};_0x45d43e['WnRJD'](clearInterval,this['timer']),_0x45d43e[_0x1d4bef(0x232,'eCVW')](clearInterval,this[_0x1d4bef(0x236,'oBmE')]),this[_0x1d4bef(0x32f,'&r!*')](_0x45d43e[_0x1d4bef(0x1bd,'um&2')]);this[_0x1d4bef(0x21b,'xOen')]&&(this[_0x1d4bef(0x28b,'*xID')](),this[_0x1d4bef(0x260,'PV)V')]=null,this[_0x1d4bef(0x23c,'9HwN')]());let _0x196b3d=0x386;if(this[_0x1d4bef(0x316,'4$be')]==0x2)_0x45d43e[_0x1d4bef(0x28d,'D)Ro')](_0x45d43e[_0x1d4bef(0x2ee,'ugMJ')],_0x45d43e['IcDYf'])?_0x45d43e[_0x1d4bef(0x1e3,'xOen')](_0x4a5de0[_0x1d4bef(0x231,'xOen')],_0x1d4bef(0x30f,']9wa'))&&(_0x4af27b[_0x1d4bef(0x270,'ugMJ')]=![]):_0x196b3d=0x38a;else{if(_0x45d43e[_0x1d4bef(0x2ed,'PaLG')](this[_0x1d4bef(0x233,'eBBs')],0x3))_0x45d43e['EkoaG']!==_0x1d4bef(0x250,'FgGG')?(this[_0x1d4bef(0x344,'9HwN')]['srcObject']=this['remoteStream'],this[_0x1d4bef(0x201,'qzPt')][_0x1d4bef(0x1ad,'Dqih')]=this[_0x1d4bef(0x1ed,'rBDn')],this[_0x1d4bef(0x340,'D)Ro')][_0x1d4bef(0x2fe,'kw4C')]=![],this[_0x1d4bef(0x1c4,'FrfV')][_0x1d4bef(0x23b,'oBmE')]=!![]):_0x196b3d=0x387;else _0x45d43e[_0x1d4bef(0x298,'SpVX')](this[_0x1d4bef(0x1eb,'*xID')],0x4)&&(_0x45d43e[_0x1d4bef(0x2c5,'MAW^')](_0x45d43e[_0x1d4bef(0x330,'kw4C')],_0x45d43e[_0x1d4bef(0x229,'PV)V')])?this['pc'][_0x1d4bef(0x21c,'*Zej')](new _0x336839(_0x478a89[_0x1d4bef(0x235,'eJxw')])):_0x196b3d=0x38b);}this['postMsg']({'event':_0x45d43e['pJreG'],'isbtn':_0x17e889,'callTime':this[_0x1d4bef(0x299,'5i!U')],'code':_0x196b3d});},'closeLocalMedia'(){const _0x198ed3=_0x2fb6;this['localStream']&&this[_0x198ed3(0x226,'oBmE')]['getTracks']()&&this['localStream'][_0x198ed3(0x1b2,'kw4C')]()[_0x198ed3(0x1fd,'6Hjc')](_0x35913d=>{const _0x5a1ea4=_0x198ed3;_0x35913d[_0x5a1ea4(0x303,'oBmE')]();}),this[_0x198ed3(0x1fb,'R@s7')]=null;},'switchVoice'(){const _0x4617ee=_0x2fb6,_0x3c2a24={'QkndW':function(_0x5e7335,_0x437204){return _0x5e7335!==_0x437204;},'RAhMA':_0x4617ee(0x276,'kw4C'),'jjWBb':function(_0x32efd2,_0x524235){return _0x32efd2===_0x524235;},'exejO':function(_0x49cd72,_0x3f5467){return _0x49cd72===_0x3f5467;},'QDqRy':_0x4617ee(0x243,'3LKg'),'ZdzLH':_0x4617ee(0x2e6,'J4Lq'),'eKHjv':'GMUmD','yBcwM':function(_0x3876dc,_0x1984a1){return _0x3876dc(_0x1984a1);},'cagyS':'请打开音视频'};if(this[_0x4617ee(0x2e2,'tiEd')]==null){if(_0x3c2a24['ZdzLH']!==_0x3c2a24['eKHjv'])return _0x3c2a24[_0x4617ee(0x309,'xOen')](alert,_0x3c2a24[_0x4617ee(0x2c9,'ugMJ')]),![];else this[_0x4617ee(0x2cf,'$Dkr')][_0x4617ee(0x322,'rBDn')]()['forEach'](_0x40f56a=>{const _0x25de07=_0x4617ee;_0x40f56a[_0x25de07(0x2f2,'eCVW')]();});}const _0xa313aa=this['localStream'][_0x4617ee(0x2ef,'oBmE')]();this[_0x4617ee(0x2e7,'$Dkr')]?(_0xa313aa['forEach'](_0xf2b0b1=>{const _0x47bc52=_0x4617ee;_0x3c2a24[_0x47bc52(0x2eb,'G^xa')](_0x3c2a24[_0x47bc52(0x230,'$Dkr')],_0x3c2a24[_0x47bc52(0x2a1,'KQ6K')])?(this[_0x47bc52(0x335,'KQ6K')]=_0x3bdc4e['streams'][0x0],this[_0x47bc52(0x27f,'1xg8')]=0x2):_0x3c2a24[_0x47bc52(0x280,'rBDn')](_0xf2b0b1[_0x47bc52(0x2bd,'FgGG')],_0x47bc52(0x2ff,'rBDn'))&&(_0xf2b0b1[_0x47bc52(0x20a,'5i!U')]=![]);}),this[_0x4617ee(0x212,'*xID')]=![]):(_0xa313aa['forEach'](_0x5e078b=>{const _0x3a4d51=_0x4617ee;_0x3c2a24[_0x3a4d51(0x29d,'NcVo')](_0x3a4d51(0x237,'3LKg'),_0x3c2a24[_0x3a4d51(0x23f,'3LKg')])?(this[_0x3a4d51(0x338,'3LKg')]--,this[_0x3a4d51(0x2bf,'9HwN')]==0x0&&this[_0x3a4d51(0x2b5,'&r!*')](!![])):_0x3c2a24['jjWBb'](_0x5e078b[_0x3a4d51(0x253,'y1yK')],_0x3a4d51(0x1d2,'G^xa'))&&(_0x5e078b[_0x3a4d51(0x2b7,'R@s7')]=!![]);}),this[_0x4617ee(0x333,'3LKg')]=!![]);},'switchVideo'(){const _0x3bbf4d=_0x2fb6,_0x44d9e2={'igJGD':function(_0x427b51,_0x9b6d06){return _0x427b51(_0x9b6d06);},'rLWud':'请打开音视频','PwpQs':'video','QEsLn':function(_0x27e3d7,_0x17038b){return _0x27e3d7===_0x17038b;},'yGqJL':_0x3bbf4d(0x1bb,'*Zej'),'fKkcD':'iceCandidate','KgmzX':'YYXtC','JtKKE':function(_0xd5753a,_0x277a5f){return _0xd5753a==_0x277a5f;},'hXtTB':_0x3bbf4d(0x2d3,'jvG5'),'fZSwU':'hijTg','EQKxZ':_0x3bbf4d(0x203,'xOen')};if(_0x44d9e2['JtKKE'](this[_0x3bbf4d(0x336,'Yt5C')],null))return _0x44d9e2['QEsLn'](_0x44d9e2['hXtTB'],_0x3bbf4d(0x1c6,'wqJo'))?(_0x44d9e2[_0x3bbf4d(0x1bc,'xOen')](_0x12a623,_0x44d9e2[_0x3bbf4d(0x1b1,'&r!*')]),![]):(_0x44d9e2[_0x3bbf4d(0x2c2,'Bs#F')](alert,_0x44d9e2['rLWud']),![]);const _0x158e11=this[_0x3bbf4d(0x1d5,'^c6R')][_0x3bbf4d(0x23d,'PaLG')]();this[_0x3bbf4d(0x2b3,'oBmE')]?(_0x158e11['forEach'](_0x1f99fb=>{const _0x3e7b3c=_0x3bbf4d,_0x23d4ab={'UjaKS':function(_0x277573,_0x113be4){return _0x277573===_0x113be4;},'BvpsR':'video'};_0x1f99fb['kind']===_0x44d9e2[_0x3e7b3c(0x2fc,'^c6R')]&&(_0x44d9e2['QEsLn'](_0x44d9e2[_0x3e7b3c(0x30c,']9wa')],_0x44d9e2['yGqJL'])?_0x1f99fb[_0x3e7b3c(0x24a,'Yt5C')]=![]:_0x23d4ab[_0x3e7b3c(0x2a3,'kw4C')](_0x3ceca9[_0x3e7b3c(0x218,'$D2J')],_0x23d4ab[_0x3e7b3c(0x31c,'tiEd')])&&(_0x4bddea[_0x3e7b3c(0x22a,'KQ6K')]=!![]));}),this[_0x3bbf4d(0x255,'3LKg')]=![]):_0x44d9e2[_0x3bbf4d(0x29b,'1xg8')](_0x44d9e2[_0x3bbf4d(0x2cb,'FgGG')],_0x44d9e2['EQKxZ'])?this['postMsg']({'event':_0x44d9e2[_0x3bbf4d(0x247,'eBBs')],'iceCandidate':_0x1d1409['parse'](_0x4046c7[_0x3bbf4d(0x211,'5i!U')](_0x294c2f))},'*'):(_0x158e11['forEach'](_0x4bc943=>{const _0x555d8e=_0x3bbf4d;_0x4bc943[_0x555d8e(0x1f7,'SpVX')]===_0x44d9e2['PwpQs']&&(_0x44d9e2[_0x555d8e(0x1f6,'ugMJ')]===_0x44d9e2[_0x555d8e(0x248,'1xg8')]?_0x4bc943['enabled']=!![]:_0x10ac67=0x38b);}),this['videoStatus']=!![]);},'exchangeVideo'(){const _0x7f3af9=_0x2fb6,_0x273643={'imqbu':function(_0x2e7fd3,_0x2f8d02){return _0x2e7fd3==_0x2f8d02;},'fXiFX':'video','fmvKQ':function(_0x4025a3,_0x1e5408){return _0x4025a3==_0x1e5408;},'Evzld':_0x7f3af9(0x328,'6Hjc'),'MSQcs':function(_0x4be1e8,_0xe86598){return _0x4be1e8==_0xe86598;},'SSTJQ':_0x7f3af9(0x223,'zKLW'),'ObpRx':_0x7f3af9(0x32a,'D)Ro')};this[_0x7f3af9(0x30a,'6d^q')][_0x7f3af9(0x1cd,'Kcc6')]()[_0x7f3af9(0x1b5,'FrfV')](_0x442027=>_0x442027['stop']());if(_0x273643['fmvKQ'](this[_0x7f3af9(0x227,'1xg8')],_0x273643[_0x7f3af9(0x206,'eJxw')]))this[_0x7f3af9(0x1f0,'R@s7')]=_0x273643[_0x7f3af9(0x26d,'g1g!')];else this[_0x7f3af9(0x1de,'NcVo')]=_0x273643[_0x7f3af9(0x208,'eCVW')];navigator[_0x7f3af9(0x283,'wqJo')][_0x7f3af9(0x209,'D)Ro')]({'video':{'width':window[_0x7f3af9(0x213,'Yt5C')]['height'],'height':window[_0x7f3af9(0x30b,'9HwN')][_0x7f3af9(0x238,'y1yK')],'facingMode':{'exact':this[_0x7f3af9(0x2b2,'^c6R')]}},'audio':{'echoCancellation':!![]}})['then'](_0x14b6cd=>{const _0xfddfa=_0x7f3af9;this[_0xfddfa(0x2c0,'rBDn')]=this['pc'][_0xfddfa(0x284,'Kcc6')]();let _0x3a7fba=_0x14b6cd[_0xfddfa(0x33a,'*Zej')]()[0x0],_0x1c311b=_0x14b6cd['getAudioTracks']()[0x0];var _0x34c867=this[_0xfddfa(0x1bf,'FgGG')][_0xfddfa(0x265,'y1yK')](_0x3aa1d7=>{const _0x5d84e2=_0xfddfa;return _0x273643[_0x5d84e2(0x2ac,'g1g!')](_0x3aa1d7[_0x5d84e2(0x2dc,'*Zej')][_0x5d84e2(0x1df,'PV)V')],_0x273643['fXiFX']);}),_0xb4ff2e=this['senders'][_0xfddfa(0x241,'ugMJ')](_0x24a286=>{const _0x4b3569=_0xfddfa;return _0x273643['fmvKQ'](_0x24a286['track']['kind'],_0x273643[_0x4b3569(0x2de,'rBDn')]);});_0x34c867[_0xfddfa(0x251,'$Dkr')](_0x3a7fba),_0xb4ff2e['replaceTrack'](_0x1c311b);if(this[_0xfddfa(0x24b,'$D2J')]===0x2)this['remoteVideo']['srcObject']=_0x14b6cd;else this[_0xfddfa(0x340,'D)Ro')][_0xfddfa(0x1b3,'R@s7')]=_0x14b6cd;this[_0xfddfa(0x317,'qzPt')]=_0x14b6cd,_0x273643['MSQcs'](this[_0xfddfa(0x297,'FrfV')],![])&&(this[_0xfddfa(0x267,'oBmE')]=!![],this[_0xfddfa(0x1b0,'jvG5')]()),this[_0xfddfa(0x32b,'kw4C')]?this['speaker']=!this[_0xfddfa(0x293,'FrfV')]:this[_0xfddfa(0x2ec,'R@s7')]=!this[_0xfddfa(0x2a9,']9wa')];});},'playMusicCall'(_0x212f66){const _0x40b57d=_0x2fb6,_0x35c780={'dYIYy':function(_0x2e6398,_0x34606c){return _0x2e6398==_0x34606c;},'BdiXF':_0x40b57d(0x1d1,'y1yK'),'ufqUM':function(_0x2c8900,_0x143039){return _0x2c8900===_0x143039;},'lbiFP':_0x40b57d(0x291,'kw4C')};var _0x1a8346=document[_0x40b57d(0x1dd,'Dqih')](_0x40b57d(0x341,'*xID'));if(_0x35c780['dYIYy'](_0x212f66,_0x35c780[_0x40b57d(0x2b4,'oBmE')])&&!_0x1a8346[_0x40b57d(0x325,'FgGG')]){_0x1a8346['pause']();return;}_0x35c780[_0x40b57d(0x25f,'um&2')](_0x212f66,_0x35c780[_0x40b57d(0x22f,'Dqih')])?_0x1a8346[_0x40b57d(0x2cc,'FrfV')]=!![]:_0x1a8346['loop']=![],_0x1a8346[_0x40b57d(0x23e,'1xg8')]?_0x1a8346[_0x40b57d(0x1c2,'ugMJ')]():_0x1a8346[_0x40b57d(0x2c3,'FrfV')]();},'playMusicHandup'(){const _0x225b90=_0x2fb6,_0x484167={'qEgEQ':_0x225b90(0x1d3,'zKLW')};var _0x3ed24c=document[_0x225b90(0x1dd,'Dqih')](_0x484167['qEgEQ']);_0x3ed24c[_0x225b90(0x1ef,'eJxw')]();},'postMsg'(_0x388144){const _0x25b77c=_0x2fb6,_0x4a6b3f={'ncFUp':function(_0x289742,_0x321ef5){return _0x289742/_0x321ef5;},'OYQzB':function(_0x5682a5,_0x2e787d){return _0x5682a5-_0x2e787d;},'yyvMt':function(_0x271bf3,_0x1dc07f){return _0x271bf3-_0x1dc07f;},'YAHxI':function(_0x123428,_0x5862e9){return _0x123428-_0x5862e9;},'LzDSR':function(_0xaecc15,_0x3d23e5){return _0xaecc15*_0x3d23e5;},'dLNcV':_0x25b77c(0x1c3,'&r!*'),'lOCQP':function(_0x4ebba4,_0x565118){return _0x4ebba4!==_0x565118;},'wRLUM':_0x25b77c(0x207,'9HwN'),'NpXbu':'PpqPU'};if(this[_0x25b77c(0x339,'xOen')]===_0x4a6b3f[_0x25b77c(0x33f,'Bs#F')]){if(_0x4a6b3f[_0x25b77c(0x268,'zKLW')](_0x4a6b3f[_0x25b77c(0x246,'D)Ro')],_0x4a6b3f[_0x25b77c(0x308,']9wa')])){let _0x217483=this[_0x25b77c(0x245,'y1yK')];const _0x9114de=_0x575061[_0x25b77c(0x24e,'oBmE')](_0x4a6b3f['ncFUp'](_0x217483,0xe10)),_0x39d13e=_0x8dfc3e[_0x25b77c(0x1ae,'qzPt')](_0x4a6b3f[_0x25b77c(0x249,'*Zej')](_0x4a6b3f[_0x25b77c(0x2f1,'y1yK')](_0x217483,_0x9114de*0xe10),0x3c)),_0x4f77b8=_0x4a6b3f[_0x25b77c(0x33c,'6d^q')](_0x4a6b3f[_0x25b77c(0x32e,'3LKg')](_0x217483,_0x4a6b3f[_0x25b77c(0x2b8,'b7$7')](_0x9114de,0xe10)),_0x4a6b3f['LzDSR'](_0x39d13e,0x3c));return _0x9114de[_0x25b77c(0x2db,'SpVX')]()[_0x25b77c(0x220,'5i!U')](0x2,'0')+':'+_0x39d13e['toString']()[_0x25b77c(0x210,'zKLW')](0x2,'0')+':'+_0x4f77b8[_0x25b77c(0x217,'Dqih')]()[_0x25b77c(0x329,'FrfV')](0x2,'0');}else uni['postMessage']({'data':_0x388144});}else _0x4a6b3f[_0x25b77c(0x1c5,'J4Lq')](_0x4a6b3f[_0x25b77c(0x2d4,'6Hjc')],_0x4a6b3f[_0x25b77c(0x1e0,'kw4C')])?_0x53bc38=0x387:window[_0x25b77c(0x20c,'UCdZ')]['postMessage'](_0x388144);},'callMessagecallback'(_0x42e8ed){const _0x4a8cf1=_0x2fb6,_0x2d499c={'nUWmE':_0x4a8cf1(0x263,'6d^q'),'IKvMM':_0x4a8cf1(0x345,'Dqih'),'PNVKM':_0x4a8cf1(0x1dc,'6d^q'),'hSaut':function(_0x4ada8e,_0x46eba6){return _0x4ada8e===_0x46eba6;},'VcwOk':_0x4a8cf1(0x2c8,'3LKg'),'omXot':function(_0x4d4be6,_0x217549){return _0x4d4be6!==_0x217549;},'lnlBT':_0x4a8cf1(0x33e,'jvG5'),'zpKqK':_0x4a8cf1(0x2ad,'PV)V')};let _0x4078d7=_0x42e8ed[_0x4a8cf1(0x214,'PV)V')];switch(_0x4078d7[_0x4a8cf1(0x324,'G^xa')]){case _0x4a8cf1(0x282,'T[Ly'):this[_0x4a8cf1(0x26a,'Dqih')](![]);break;case _0x2d499c[_0x4a8cf1(0x321,'T[Ly')]:this[_0x4a8cf1(0x1f3,'rBDn')]=0x4,this[_0x4a8cf1(0x2d6,'3LKg')](![]);break;case _0x4a8cf1(0x306,'wqJo'):this[_0x4a8cf1(0x28f,'Bs#F')]=0x2,clearInterval(this[_0x4a8cf1(0x1ca,'xOen')]),this[_0x4a8cf1(0x319,'PaLG')](),this[_0x4a8cf1(0x2da,'9HwN')](),this[_0x4a8cf1(0x258,'$D2J')]();break;case _0x2d499c[_0x4a8cf1(0x1f1,'IHM3')]:break;case _0x2d499c['PNVKM']:this['pc'][_0x4a8cf1(0x2c7,'g1g!')](new RTCSessionDescription({'type':_0x2d499c[_0x4a8cf1(0x1e7,'g1g!')],'sdp':_0x4078d7['sdp']}));break;case _0x4a8cf1(0x2ea,'5i!U'):_0x2d499c['hSaut'](typeof _0x4078d7[_0x4a8cf1(0x343,'6Hjc')],_0x2d499c['VcwOk'])?this['pc'][_0x4a8cf1(0x222,'$Dkr')](new RTCIceCandidate(_0x4078d7['iceCandidate'])):_0x2d499c[_0x4a8cf1(0x1db,'*Zej')](_0x4a8cf1(0x33b,'oBmE'),_0x2d499c[_0x4a8cf1(0x1e1,'Dqih')])?this['pc'][_0x4a8cf1(0x1e4,'Bs#F')](new RTCIceCandidate(JSON[_0x4a8cf1(0x240,'eJxw')](_0x4078d7[_0x4a8cf1(0x327,'y1yK')]))):this[_0x4a8cf1(0x2e3,'^c6R')][_0x4a8cf1(0x305,'FgGG')]=![];break;case _0x2d499c[_0x4a8cf1(0x1d0,'qzPt')]:this['pc']['setRemoteDescription'](new RTCSessionDescription({'type':'offer','sdp':_0x4078d7['sdp']})),this[_0x4a8cf1(0x301,'eCVW')]();break;}},'createOffer'(){const _0x5e7d1c=_0x2fb6,_0x577215={'jhHNJ':'offer','GfPWn':function(_0x5c64fc,_0x5a6e5e){return _0x5c64fc==_0x5a6e5e;},'OaCbq':_0x5e7d1c(0x2bb,'IHM3'),'tDQDc':function(_0x580f81,_0x9286c6){return _0x580f81===_0x9286c6;},'VGmSr':'gPVsv','yZhKg':_0x5e7d1c(0x29e,'SpVX')};this['pc'][_0x5e7d1c(0x2af,'jvG5')](this[_0x5e7d1c(0x224,'D)Ro')])['then'](_0x2b5e4e=>{const _0x17cb78=_0x5e7d1c;this['pc'][_0x17cb78(0x21a,'D)Ro')](_0x2b5e4e),this[_0x17cb78(0x26c,'3LKg')]({'event':_0x577215[_0x17cb78(0x1b4,'qzPt')],'sdp':_0x2b5e4e['sdp']},'*');}),this['pc'][_0x5e7d1c(0x311,'ugMJ')]=_0x39f865=>{const _0x515d7c=_0x5e7d1c;var _0x3be8b1=_0x39f865[_0x515d7c(0x2cd,'4$be')];if(_0x3be8b1){if(_0x577215[_0x515d7c(0x2d1,'jvG5')](_0x577215[_0x515d7c(0x290,'tiEd')],_0x577215[_0x515d7c(0x22b,'D)Ro')]))this[_0x515d7c(0x2f8,'eCVW')]({'event':_0x577215[_0x515d7c(0x2ce,'6d^q')],'iceCandidate':JSON[_0x515d7c(0x26b,'^c6R')](JSON[_0x515d7c(0x304,'*xID')](_0x3be8b1))},'*');else return _0x577215[_0x515d7c(0x31f,'6d^q')](_0x42b0d1[_0x515d7c(0x28e,'SpVX')][_0x515d7c(0x1df,'PV)V')],_0x577215[_0x515d7c(0x1ee,'PaLG')]);}};},'createAnswer'(){const _0x5950c2=_0x2fb6,_0x305de8={'MVIga':'video','vpRYU':function(_0x1b4409,_0xaefd5b){return _0x1b4409!==_0xaefd5b;}};this['pc'][_0x5950c2(0x1cc,'Yt5C')](this[_0x5950c2(0x326,'xOen')])['then'](_0xff1272=>{const _0x141345=_0x5950c2;this['pc'][_0x141345(0x1d7,'oBmE')](_0xff1272),this[_0x141345(0x274,'6d^q')]({'event':_0x141345(0x1dc,'6d^q'),'sdp':_0xff1272[_0x141345(0x2dd,'$Dkr')]},'*'),this['pc'][_0x141345(0x25b,'Kcc6')]=_0x4c747c=>{const _0x1ee9f9=_0x141345,_0x13a583={'JLJVe':_0x305de8[_0x1ee9f9(0x202,'4$be')]};if(_0x305de8['vpRYU'](_0x1ee9f9(0x2c1,'jvG5'),'xRwxU'))_0x53943f[_0x1ee9f9(0x1b5,'FrfV')](_0x2ec359=>{const _0x3258d5=_0x1ee9f9;_0x2ec359[_0x3258d5(0x2e0,'NcVo')]===_0x13a583[_0x3258d5(0x2f7,'1xg8')]&&(_0x2ec359['enabled']=![]);}),this[_0x1ee9f9(0x228,'NcVo')]=![];else{var _0x4f4d6e=_0x4c747c['candidate'];_0x4f4d6e&&this[_0x1ee9f9(0x1cb,'zKLW')]({'event':'iceCandidate','iceCandidate':JSON[_0x1ee9f9(0x2e5,'tiEd')](JSON[_0x1ee9f9(0x27a,'6Hjc')](_0x4f4d6e))},'*');}};});},'changeVideo'(){const _0xb1f8e3=_0x2fb6,_0x483efe={'vZxrL':function(_0x4a19da,_0x1ec718){return _0x4a19da==_0x1ec718;}};_0x483efe['vZxrL'](this[_0xb1f8e3(0x2d5,'G^xa')],0x1)?this[_0xb1f8e3(0x2ca,'rBDn')]=0x2:this['streamType']=0x1;},'speakBtn'(){const _0xb745b8=_0x2fb6,_0x32b897={'fJkPJ':_0xb745b8(0x2a0,'G^xa'),'XTsGL':function(_0x290d74,_0x7a7b78){return _0x290d74===_0x7a7b78;},'uPCrG':function(_0x16ba11,_0x3b9489){return _0x16ba11===_0x3b9489;},'EAycm':_0xb745b8(0x21e,'g1g!'),'arrIQ':function(_0x9ff7ae,_0x2fe757){return _0x9ff7ae===_0x2fe757;},'BVirV':function(_0x372b44,_0x58b810){return _0x372b44===_0x58b810;},'eAStw':function(_0x53ed5f,_0x1b699e){return _0x53ed5f!==_0x1b699e;},'oryck':_0xb745b8(0x2e9,'FrfV')};this['speaker']?(this['speaker']=!this[_0xb745b8(0x242,'3LKg')],_0x32b897[_0xb745b8(0x24d,'qzPt')](this['platform'],'h5')&&(this[_0xb745b8(0x2b6,'eJxw')][_0xb745b8(0x1d4,'ugMJ')]=!![]),_0x32b897[_0xb745b8(0x27e,'NcVo')](this[_0xb745b8(0x339,'xOen')],_0x32b897[_0xb745b8(0x31d,'9HwN')])&&this[_0xb745b8(0x219,'J4Lq')]['setRoute'](plus[_0xb745b8(0x1b6,'*Zej')][_0xb745b8(0x312,'PV)V')])):(this['speaker']=!this[_0xb745b8(0x287,'jvG5')],_0x32b897[_0xb745b8(0x266,'$D2J')](this[_0xb745b8(0x20f,'*xID')],'h5')&&(this[_0xb745b8(0x1f9,'4$be')][_0xb745b8(0x1f4,'9HwN')]=![]),_0x32b897[_0xb745b8(0x26e,'eJxw')](this[_0xb745b8(0x1fe,'J4Lq')],_0x32b897[_0xb745b8(0x31b,'PV)V')])&&(_0x32b897['eAStw']('ypkyv',_0x32b897[_0xb745b8(0x33d,'Kcc6')])?this[_0xb745b8(0x2ae,'b7$7')]({'event':_0x32b897['fJkPJ'],'iceCandidate':_0x1fa231[_0xb745b8(0x285,'FrfV')](_0x52f50f[_0xb745b8(0x31e,'zKLW')](_0x272525))},'*'):this[_0xb745b8(0x2d8,'SpVX')][_0xb745b8(0x2d0,'IHM3')](plus[_0xb745b8(0x1c8,'KQ6K')][_0xb745b8(0x2c4,'MAW^')])));}}};var version_ = 'jsjiami.com.v7';
		const app = Vue.createApp(Counter);
		app.mount('#app');
	</script>
	</html>